home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / netinclude / pragmas / usergroup_pragmas.h < prev   
C/C++ Source or Header  |  1994-05-19  |  2KB  |  63 lines

  1. /*
  2. **    $Filename: pragmas/usergroup_pragmas.h $
  3. **    $Release$
  4. **    $Revision: 4.1 $
  5. **    $Date: 1994/05/16 14:09:07 $
  6. **
  7. **    Pragmas file for usergroup.library
  8. **
  9. **    Copyright (c) 1993 AmiTCP/IP Group, <AmiTCP-Group@hut.fi>
  10. **        Helsinki University of Technology, Finland.
  11. **        All rights reserved.
  12. */
  13. /* Setup functions */
  14. #pragma libcall UserGroupBase ug_SetupContextTagList 1E 9802
  15. #pragma tagcall UserGroupBase ug_SetupContextTags 1E 9802
  16. #pragma libcall UserGroupBase ug_GetErr 24 00
  17. #pragma libcall UserGroupBase ug_StrError 2A 101
  18. /* User identification */
  19. #pragma libcall UserGroupBase getuid 30 00
  20. #pragma libcall UserGroupBase geteuid 36 00
  21. #pragma libcall UserGroupBase setreuid 3C 1002
  22. #pragma libcall UserGroupBase setuid 42 001
  23. /* Group membership */
  24. #pragma libcall UserGroupBase getgid 48 00
  25. #pragma libcall UserGroupBase getegid 4E 00
  26. #pragma libcall UserGroupBase setregid 54 1002
  27. #pragma libcall UserGroupBase setgid 5A 001
  28. #pragma libcall UserGroupBase getgroups 60 9002
  29. #pragma libcall UserGroupBase setgroups 66 9002
  30. #pragma libcall UserGroupBase initgroups 6C 0902
  31. /* User database */
  32. #pragma libcall UserGroupBase getpwnam 72 901
  33. #pragma libcall UserGroupBase getpwuid 78 001
  34. #pragma libcall UserGroupBase setpwent 7E 00
  35. #pragma libcall UserGroupBase getpwent 84 00
  36. #pragma libcall UserGroupBase endpwent 8A 00
  37. /* Group database */
  38. #pragma libcall UserGroupBase getgrnam 90 901
  39. #pragma libcall UserGroupBase getgrgid 96 001
  40. #pragma libcall UserGroupBase setgrent 9C 00
  41. #pragma libcall UserGroupBase getgrent A2 00
  42. #pragma libcall UserGroupBase endgrent A8 00
  43. /* Password handling */
  44. #pragma libcall UserGroupBase crypt AE 9802
  45. #pragma libcall UserGroupBase ug_GetSalt B4 09803
  46. #pragma libcall UserGroupBase getpass BA 901
  47. /* Default protections */
  48. #pragma libcall UserGroupBase umask C0 001
  49. #pragma libcall UserGroupBase getumask C6 00
  50. /* Sessions */
  51. #pragma libcall UserGroupBase setsid CC 00
  52. #pragma libcall UserGroupBase getpgrp D2 00
  53. #pragma libcall UserGroupBase getlogin D8 00
  54. #pragma libcall UserGroupBase setlogin DE 901
  55. /* Sessions, user login database (utmp) */
  56. #pragma libcall UserGroupBase setutent E4 00
  57. #pragma libcall UserGroupBase getutent EA 00
  58. #pragma libcall UserGroupBase endutent F0 00
  59. #pragma libcall UserGroupBase getlastlog F6 001
  60. #pragma libcall UserGroupBase setlastlog FC 98003
  61. /* Credentials */
  62. #pragma libcall UserGroupBase getcredentials 102 801
  63.